Sd Jwt Serialization Ops
Parameters
JWT
the type representing the JWT part of the SD-JWT
Inheritors
Functions
Link copied to clipboard
abstract fun SdJwt<JWT>.asJwsJsonObject(option: JwsSerializationOption = JwsSerializationOption.Flattened): JsonObject
Creates a representation of an SdJwt as a JWS JSON according to RFC7515. In addition to the General & Flattened representations defined in the RFC7515, the result JSON contains an unprotected header which includes an array with the disclosures
Link copied to clipboard
abstract suspend fun SdJwt<JWT>.asJwsJsonObjectWithKeyBinding(option: JwsSerializationOption = JwsSerializationOption.Flattened, buildKbJwt: BuildKbJwt): Result<JsonObject>
Creates a representation of an SdJwt as a JWS JSON according to RFC7515. In addition to the General & Flattened representations defined in the RFC7515, the result JSON contains an unprotected header which includes an array with the disclosures of the SdJwt and the key binding JWT
abstract fun SdJwt<JWT>.asJwsJsonObjectWithKeyBinding(option: JwsSerializationOption = JwsSerializationOption.Flattened, kbJwt: Jwt): JsonObject
Link copied to clipboard
Serializes a SdJwt with a Key Binding JWT.